
/**
 * represents a simple Videogame data structure
 * including genre, system, name and price in EURO
 * @author GEORES
 *
 */

public class Game{
	
	String name;
	SystemType type;
	GenreType genre;
	double priceInEuro;
	
	/**
	 * Constructor 
	 * @param string the name of the game
	 * @param genre game genre from enumeration
	 * @param type console type of the video game
	 * @param d the price in EURO
	 */
	
	public Game(String string, GenreType genre, SystemType type,
			double d) {
		this.name = string;
		this.type = type;
		this.genre = genre;
		this.priceInEuro = d;
	}
	
	/*
	 * **********************************
	 * GETTER AND SETTER
	 * **********************************
	 * 
	 */
	
	
	@Override
	public String toString() {
		return this.name;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public SystemType getType() {
		return type;
	}
	public void setType(SystemType type) {
		this.type = type;
	}
	public GenreType getGenre() {
		return genre;
	}
	public void setGenre(GenreType genre) {
		this.genre = genre;
	}
	public double getPriceInEuro() {
		return priceInEuro;
	}
	public void setPriceInEuro(double priceInEuro) {
		this.priceInEuro = priceInEuro;
	}
	
	
	

}
